<?php
namespace Model\Entity;

/**
 * Description of Url
 *
 * @author pahhan
 */
class Url
{
    private $id;
    private $siteId;
    private $url;
    private $charset;
    private $key;
    private $description;
    private $updated_at;

    public function getId() {
        return $this->id;
    }

    public function getSiteId() {
        return $this->siteId;
    }

    public function getUrl() {
        return $this->url;
    }

    public function getCharset() {
        return $this->charset;
    }

    public function getKey() {
        return $this->key;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function setSiteId($siteId) {
        $this->siteId = $siteId;
    }

    public function setUrl($url) {
        $this->url = $url;
    }

    public function setCharset($charset) {
        $this->charset = $charset;
    }

    public function setKey($key) {
        $this->key = $key;
    }

    public function getDescription() {
        return $this->description;
    }

    public function setDescription($description) {
        $this->description = $description;
    }

    /**
     * @return \DateTime
     */
    public function getUpdated_at() {
        return new \DateTime($this->updated_at);
    }

    public function setUpdated_at(\DateTime $updated_at) {
        $this->updated_at = $updated_at;
    }



}

